/*
 * Copyright (C) 2012 Yichao
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package action;

import com.opensymphony.xwork2.ActionSupport;

import ezcms.exceptions.PresentationException;

/**
 *
 * @author Yichao
 * @author Le Tuan Anh <anh.takaji@gmail.com>
 */
public class LocationAction extends ActionSupport {

    private LocationAction location;

    public LocationAction() throws PresentationException {
    }

    public String index() {
        return "success";
    }

    //prepare form for new record
    public String create() {
        return "create";
    }

    //prepare form for edit
    public String edit() {
        return "edit";
    }

    //update record and show updated result
    public String update() {
        return "show";
    }

    //delete record and redirected to index
    public String delete() {
        return "success";
    }
}
